Skip to content

Added try/except in sync_complete of vSphere Integration#1177

Open
qduk wants to merge 3 commits intodevelopfrom
ab_issue_1176
Open

Added try/except in sync_complete of vSphere Integration#1177
qduk wants to merge 3 commits intodevelopfrom
ab_issue_1176

Conversation

@qduk
Copy link
Copy Markdown
Contributor

@qduk qduk commented Apr 6, 2026

Closes: #1176

What's Changed

Added try/except in sync_complete of vSphere Integration

To Do

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)

@qduk qduk requested a review from a team as a code owner April 6, 2026 17:24
@qduk qduk changed the title Added try/except in sync_complete Added try/except in sync_complete of vSphere Integration Apr 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  nautobot_ssot/integrations/vsphere/diffsync/adapters
  adapter_nautobot.py 52-56
Project Total  

This report was generated by python-coverage-comment-action

@jdrew82 jdrew82 added type: bug Issues/PRs addressing a bug. integration: vSphere Issues/PRs for vSphere integration labels Apr 10, 2026
for info in self._primary_ips:
vm = VirtualMachine.objects.get(**info["device"])
try:
vm = VirtualMachine.objects.get(**info["device"])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we get test coverage on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration: vSphere Issues/PRs for vSphere integration type: bug Issues/PRs addressing a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vSphere Integration fails in sync_complete when assigning IPs

2 participants